<?php
session_start();
require '../nette/Nette/loader.php';
require '../db.php';
require '../localization/lang.php';
require '../core/core.sanitizer.php';
require '../core/core.security.php';
require '../core/core.time.php';
require '../core/core.jobs.php';

$login=new core_security;
if ($login->checklogin()=="OK") {
$job=new core_job;
$job->id=$_POST['id'];
$job->uid=$_SESSION['uid'];
//echo $job->id." ".$job->uid;
$job->delete();

}
?>
